package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.ArticleHtml;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

//@Mapper
//@Repository("ArticleHtmlMapper")
public interface ArticleHtmlMapper {
    int saveArticleHtmlData(ArticleHtml articleHtml);

    int deleteArticleHtmlData(@Param("id") int id);

    int updateArticleHtmlData(ArticleHtml articleHtml);

    ArticleHtml loadArticleHtmlData(@Param("id") int id);

    int loadArticleHtmlCount(@Param("articleId") String articleId);

    int deleteArticleHtmlByArticleId(@Param("articleId") String articleId);
}
